//ÄÁ¹öÆÃ Ŭ·¡½º// void TestBmp::Draw(HDC Currenthdc,int DisPlay_Width,int DisPlay_Height) { SetStretchBltMode(Currenthdc,COLORONCOLOR); StretchDIBits(Currenthdc,0,0,DisPlay_Width,DisPlay_Height,0,0,BmpInfo->bmiHeader.biWidth,-BmpInfo->bmiHeader.biHeight ,(BYTE*)Image24,BmpInfo,DIB_RGB_COLORS,SRCCOPY); } //// // ¸ÞÀÎÆû // À̹ÌÁö Å©±â´Â 2590 x 1942 ÀÔ´Ï´Ù. void __fastcall TForm4::SpeedButton2Click(TObject *Sender) { // TOpenDialog * Fileopen=new TOpenDialog(this); Fileopen->Filter=_T("Raw File (*.raw)|*.raw"); if(Fileopen->Execute()==ID_OK) { m_Yuv->ReadImage16Data(Fileopen->FileName.c_str()); m_Yuv->CovertYUV422toRGB888(2590,1942); m_Yuv->InitBmp(2590,1942,24); m_Yuv->Draw(Image1->Canvas->Handle,Image1->Width,Image1->Height); Image1->Invalidate(); } ////////////